package com.atguigu.tingshu.album.mapper;

import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.query.album.AlbumInfoQuery;
import com.atguigu.tingshu.vo.album.AlbumListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AlbumInfoMapper extends BaseMapper<AlbumInfo> {


   Page<AlbumListVo> findUserAlbumPage(Page<AlbumListVo> pageinfo, AlbumInfoQuery albumInfoQuery,Long userId);

    void countAlbumComment(String albumId);

    void countTrackComment(String trackId);
}
